# Generated by Django 2.0.5 on 2018-05-09 11:21

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('storage', '0004_auto_20180509_1056'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='book',
            name='materials',
        ),
        migrations.AddField(
            model_name='book',
            name='materials',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='storage.Material'),
        ),
        migrations.RemoveField(
            model_name='book',
            name='notes',
        ),
        migrations.AddField(
            model_name='book',
            name='notes',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='storage.Note'),
        ),
        migrations.RemoveField(
            model_name='course',
            name='materials',
        ),
        migrations.AddField(
            model_name='course',
            name='materials',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='storage.Material'),
        ),
        migrations.RemoveField(
            model_name='personofinterest',
            name='notes',
        ),
        migrations.AddField(
            model_name='personofinterest',
            name='notes',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='storage.Note'),
        ),
        migrations.AlterField(
            model_name='task',
            name='priority',
            field=models.IntegerField(choices=[(0, 'Unprioritized'), (1, 'Hight'), (2, 'Medium'), (3, 'Low')], default=0),
        ),
    ]
